package com.twohand.admin.Service;

import com.twohand.admin.Dto.RoleListQueryDto;
import com.twohand.admin.Entity.Role;
import com.twohand.admin.Vo.RolePageListVo;

import java.util.List;

public interface RoleService {
    List<Role> getRoleList();
    RolePageListVo getRoleList(RoleListQueryDto roleListQueryDto);

    Boolean addRole(Role role);
    Boolean updateRole(Role role);
    Boolean deleteRole(Integer id);

    List<Integer> getRoleMenu(Integer id);
}
